//
//  MYXRechargeCell.m
//  meiyinxiang
//
//  Created by 陈李飞 on 2017/11/10.
//  Copyright © 2017年 hbjApple. All rights reserved.
//

#import "MYXRechargeCell.h"
@interface MYXRechargeCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation MYXRechargeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setIndexPath:(NSIndexPath *)indexPath{
    if (indexPath.row == 0) {
        self.iconImageView.image =[UIImage imageNamed:@"zhifubao"];
        self.titleLabel.text = @"支付宝支付";
        self.selectBtn.selected = YES;
    }else{
        self.iconImageView.image =[UIImage imageNamed:@"chant"];
        self.titleLabel.text = @"微信支付";
    }
}
@end
